﻿using System;

/*
  Write a program that reads from the console a positive integer number
  N (N < 20) and outputs a matrix like the following:
  N = 3
 
  123
  234
  345
 
 */

class PrintMatrix1
{
    static void Main(string[] args)
    {
        Console.Write("Enter N: ");
        int n = Int32.Parse(Console.ReadLine());
        for (int i = 1; i <= n; i++)
        {
            for (int j = i; j < n+i; j++)
            { 
                Console.Write("{0,2} ",j);
            }
            Console.WriteLine("");
        }
    }
}

